﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="stylesheet" href="pui/pintuer.css">
	<link rel="stylesheet" href="pui/new.css">
	<script type="text/javascript" src="pui/jquery.js"></script>
    <script type="text/javascript" src="xheditor-1.2.2/xheditor-1.2.2.min.js"></script>
    <script type="text/javascript" src="xheditor-1.2.2/xheditor_lang/zh-cn.js"></script>
	<style>body {background: <!-- background -->;}</style>
	<script type="text/javascript">
		$(pageInit);
		var editor;
		function pageInit()
		{
			editor=$('#Explain').xheditor({shortcuts:{'ctrl+enter':submitForm}});//交互方式1
			editor=$('#Explain')[0].xheditor;//交互方式2
		}
		function submitForm(){$('#frmDemo').submit();}

	</script>
	<script type="text/javascript">
		$(document).ready(function() {
		　　　// jquery的radio的change事件
			$('input[type=radio][name=type]').change(function() {
				if (this.value == '20' || this.value == '21' ) {
//					alert("类成员");
     				$("#fenglei1").hide();
     				$("#fenglei2").hide();
     				$("#fenglei3").hide();
     				$("#fenglei4").hide();
     				$("#fenglei5").hide();
					$("#chenyuan").show();

				}
				else{
					//alert("其它");
					$("#chenyuan").hide();
     				$("#fenglei1").show();
     				$("#fenglei2").show();
     				$("#fenglei3").show();
     				$("#fenglei4").show();
     				$("#fenglei5").show();
				}
			});
		});
	</script>
	<title></title>
	<meta name="keywords" content="">
	<meta name="description" content="">
</head>
  
<body>
	
<div class="margin-small">
<form method="post"  class="form-small form-tips" action="" name="frm" onsubmit="return false;">
	<div class="form-group">
		<div class="label">
			<label for="ID">词条kID=<!-- kID -->&nbsp;&nbsp;数据sID=<!-- sID -->&nbsp;&nbsp;&nbsp;<!-- KeyWord --></label>
		</div>
	</div>
	<div class="form-group">
		<div class="label">
			<strong>类型</strong>
		</div>
		<div class="field">
			<label><input name="type" id="type" value = "0"  type="radio" <!-- Type0 -->>其它</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "1"  type="radio" <!-- Type1 -->>语句</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "2"  type="radio" <!-- Type2 -->>过程</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "3"  type="radio" <!-- Type3 -->>函数</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "4"  type="radio" <!-- Type4 -->>标准类型</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "5"  type="radio" <!-- Type5 -->>定义类型</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "6"  type="radio" <!-- Type6 -->>别名</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "7"  type="radio" <!-- Type7 -->>枚举</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "8"  type="radio" <!-- Type8 -->>联合</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "9"  type="radio" <!-- Type9 -->>常量</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "10"  type="radio" <!-- Type10 -->>宏</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "11"  type="radio" <!-- Type11 -->>全局变量</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "20"  type="radio" <!-- Type20 -->>成员</label> &nbsp;&nbsp;
			<label><input name="type" id="type" value = "21"  type="radio" <!-- Type21 -->>枚举成员</label> &nbsp;&nbsp;
		</div>
	</div>
	<div class="form-group" id ="chenyuan">
		<div class="label">
			<label for="ctid">属于词条ID（成员这里必输设置属于那个词条，此值写在 DirID1 字段）</label>
		</div>
		<input type="text" class="input" id="ctid" name="ctid" size="100" value="<!-- ctid -->"  style="width: 80px;" data-validate="number:必填纯数字" /> 
	</div>
	<div class="form-group"  id ="fenglei1">
		<div class="label">
			<div class="float-left">
				<label for="DirID1">主分类</label>
			</div>
			<div class="float-right">
				<a target="_blank" href="ca1" ><span class="tag bg-main">选择分类...</span></a> &nbsp;&nbsp;&nbsp;
			</div>
		</div> 
		<input type="text"  disabled="disabled" class="input" id="DirID1" name="DirID1" size="100" value="<!-- DirID1 -->" /> 
	</div>
	<div class="form-group"  id ="fenglei2">
		<div class="label">
			<div class="float-left">
				<label for="DirID2">次分类1（=0表示不使用）</label>
			</div>
			<div class="float-right">
				<a target="_blank" href="ca2" ><span class="tag bg-main">选择分类...</span></a> &nbsp;&nbsp;&nbsp;
			</div>
		</div>
		<input type="text"  disabled="disabled" class="input" id="DirID2" name="DirID2" size="100" value="<!-- DirID2 -->" /> 
	</div>
	
	<div class="form-group"  id ="fenglei3">
		<div class="label">
			<div class="float-left">
				<label for="DirID3">次分类2（=0表示不使用）</label>
			</div>
			<div class="float-right">
				<a target="_blank" href="ca3" ><span class="tag bg-main">选择分类...</span></a> &nbsp;&nbsp;&nbsp;
			</div>
		</div>
		<input type="text"  disabled="disabled" class="input" id="DirID3" name="DirID3" size="100" value="<!-- DirID3 -->" /> 
	</div>
	<div class="form-group"  id ="fenglei4">
		<div class="label">
			<div class="float-left">
				<label for="DirID4">次分类3（=0表示不使用）</label>
			</div>
			<div class="float-right">
				<a target="_blank" href="ca4" ><span class="tag bg-main">选择分类...</span></a> &nbsp;&nbsp;&nbsp;
			</div>
		</div>
		<input type="text"  disabled="disabled" class="input" id="DirID4" name="DirID4" size="100" value="<!-- DirID4 -->" /> 
	</div>
	<div class="form-group"  id ="fenglei5">
		<div class="label">
			<div class="float-left">
				<label for="DirID5">次分类4（=0表示不使用）</label>
			</div>
			<div class="float-right">
				<a target="_blank" href="ca5" ><span class="tag bg-main">选择分类...</span></a> &nbsp;&nbsp;&nbsp;
			</div>
		</div>
		<input type="text"  disabled="disabled" class="input" id="DirID5" name="DirID5" size="100" value="<!-- DirID5 -->" /> 
	</div>
	<div class="form-group">
		<div class="label">
			<label for="KeyWord">名称、关键词（代码语句，函数，类 等名称）</label>
		</div>
		<input type="text" class="input" autofocus="autofocus" id="KeyWord" name="KeyWord" size="10" value="<!-- KeyWord -->" style="width: 312px;" data-validate="required:必填" placeholder="名称或关键词"/> 
	</div>
	<div class="form-group">
		<div class="label">
			<label for="DisplayKeyWord">显示用关键词（用来查询后，显示在列表中的内容）</label>
		</div>
		<input type="text" class="input" data-validate="required:必填" id="DisplayKeyWord" name="DisplayKeyWord" size="100" value="<!-- DisplayKeyWord -->"  style="width: 312px;"/> 
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Description">描述，简单的说明（纯文本）</label>
		</div>
		<textarea rows="3" style="width: 100%" id="Description" name="Description" ><!-- Description --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Syntax">语法（纯文本）</label>
		</div>
		<textarea rows="3" style="width: 100%" id="Syntax" name="Syntax"><!-- Syntax --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Member">12附加，类:(成员列表 &lt;FUN|SUB|PRO|CON|DES|OPE&gt;名&lt;AS:类型&gt;参数&lt;&#x27;&gt;说明，1行1个  成员说明在 关键词.成员名) 常量\变量\成员\别名:(大写的类型名) 函数:(大写的返回类型名) 宏:(替换的内容)【文本】</label>
		</div>
		<textarea rows="10" style="width: 100%" id="Member" name="Member"><!-- Member --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Parameter">参数说明，分隔符为 vbCrLf ，1行1个参数，参数后空格之后是文字为其说明（纯文本），如果关键词是类，这里就是大写的继承类名。</label>
		</div>
		<textarea rows="5" style="width: 100%" id="Parameter" name="Parameter"><!-- Parameter --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Explain">说明，详细说明【网页代码】</label>
		</div>
		<textarea rows="13" style="width: 100%" id="Explain" name="Explain" class="xheditor {tools:'Source,|,Cut,Copy,Paste,Pastetext,|,Blocktag,Fontface,FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,SelectAll,Removeformat,|,Align,List, Outdent,Indent,|,Link,Unlink,Hr,Table',skin:'default'}"><!-- Explain --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Examples">示例（纯文本）</label>
		</div>
		<textarea rows="8" style="width: 100%" id="Examples" name="Examples"><!-- Examples --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Source">源码，属性中选择【源码库】，编译时会自动提取源码使用（纯文本）</label>
		</div>
		<textarea rows="10" style="width: 100%" id="Source" name="Source"><!-- Source --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Related">相关的关键词，分隔符为 vbCrLf ，1行1个参数，关键词后空格之后文字为其说明（纯文本）</label>
		</div>
		<textarea rows="5" style="width: 100%" id="Related" name="Related"><!-- Related --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<label for="Include">引用，需要引用什么库文件，'ln 行号，表示在第几行，几个库里有，就有几行（纯文本）</label>
		</div>
		<textarea rows="3" style="width: 100%" id="Include" name="Include"><!-- Include --></textarea>
	</div>
	<div class="form-group">
		<div class="label">
			<strong>平台</strong>
		</div>
		<div class="field">
			<label><input name="Platform" id="Platform" type="checkbox" <!-- Platform1 -->>Windows</label> &nbsp;&nbsp;
			<label><input name="Platform" id="Platform" type="checkbox" <!-- Platform2 -->>Linux</label>
		</div>
	</div>
	<div class="form-group">
		<div class="label">
			<strong>属性</strong>
		</div>
		<div class="field">
			<label><input name="Attribute" id="Attribute" value = "0"  type="radio" <!-- Attribute0 -->>普通文档（不参加代码提示）</label> &nbsp;&nbsp;
			<label><input name="Attribute" id="Attribute" value = "1"  type="radio" <!-- Attribute1 -->>FreeBasic原生语句</label> &nbsp;&nbsp;
			<label><input name="Attribute" id="Attribute" value = "2"  type="radio" <!-- Attribute2 -->>FreeBasic源码库</label> &nbsp;&nbsp;
			<label><input name="Attribute" id="Attribute" value = "3"  type="radio" <!-- Attribute3 -->>FreeBasic扩展库</label> &nbsp;&nbsp;
		</div>
	</div>

	<div class="form-group">
		<div class="label">
			<label for="Sort">排序（数字越少，查询后显示越靠前，相同数字按照关键词文字排序）</label>
		</div>
		<input type="text" class="input" id="Sort" name="Sort" size="100" value="<!-- Sort -->"  style="width: 80px;" data-validate="number:必填纯数字" /> 
	</div>
   <hr />
			<div class="float-left">
				
			</div>
			<div class="float-right margin-bottom ">

				<a target="_blank" href="queding" class="button bg-main ">&nbsp;&nbsp;&nbsp;确 定&nbsp;&nbsp;&nbsp;</a> &nbsp;&nbsp;&nbsp;
				<a target="_blank" href="quexiao" class="button bg-sub ">&nbsp;&nbsp;&nbsp;取 消&nbsp;&nbsp;&nbsp;</a> &nbsp;&nbsp;&nbsp;

			</div>
		<br /><br />
</form>
</div>
<script type="text/javascript" src="pui/pintuer.js"></script>
</body>
</html>


  